package org.ice4apps.talk.entity;

import java.io.Serializable;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Set;

public class User {

    private String id;
    private String userName;
	private String password;
	private String deviceType; // Device where this alias is authorized to register 
	private String alias; // Sip alias 
	private String displayName; // Display Name
	private UserState userState; // Current State of the user
    private int rnaTimeout; // Ring no answer timeout value
    private int featureMap; // Feature is stored in a Arrary of bits

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String name) {
        this.userName = name;
    }
    
	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDevicdeType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	/**
	 * @param userState the userState to set
	 */
	public void setUserState(UserState userState) {
		this.userState = userState;
	}

	/**
	 * @return the userState
	 */
	public UserState getUserState() {
		return userState;
	}

	/**
	 * @param rnaTimeout the rnaTimeout to set
	 */
	public void setRnaTimeout(int rnaTimeout) {
		this.rnaTimeout = rnaTimeout;
	}

	/**
	 * @return the rnaTimeout
	 */
	public int getRnaTimeout() {
		return rnaTimeout;
	}

	/**
	 * @param featureMap the featureMap to set
	 */
	public void setFeatureMap(int featureMap) {
		this.featureMap = featureMap;
	}

	/**
	 * @return the featureMap
	 */
	public int getFeatureMap() {
		return featureMap;
	}

}
